package com.happyrecyclingstation.mapper;

import com.happyrecyclingstation.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginMapper {
    /**
     * 根据手机号查询用户
     * @param phone
     * @return
     */
    @Select("select * from lzxm_user where phone = #{phone}")
    User selectByPhone(String phone);
}
